package StudyCode.summary.mycollection;

import java.util.Collection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class AddAllIterableToCollection {
	public static <T> void addAll(Iterable<T> iterable, Collection<T> collection) {
		for (T item : iterable)
			collection.add(item);
	}
}
